package com.elitedatai.mchtest.manage.repository;

import com.elitedatai.mchtest.manage.model.entity.WorkspaceEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface WorkSpaceRepository extends JpaRepository<WorkspaceEntity, Integer> {
    Optional<WorkspaceEntity> findByWorkspaceId(String workspaceId);

    Optional<WorkspaceEntity> findByBindCode(String bindCode);
}
